@import '@/app/styles/variables';

.container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  width: 704px;
  padding: 56px 91px 48px 91px;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  border-radius: 32px;
  z-index: 100;
  background: var(--simple-morning, #fff);
}

.closeCircle {
  position: absolute;
  top: 24px;
  right: 24px;
  cursor: pointer;

  &:hover rect {
    fill: #e1e1e1;
  }
}

.password {
  color: var(--simple-night, #000);
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: 26px;
  align-self: self-start;
  margin-bottom: 16px;
  max-width: 552px;
}

.input {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 522px;
  width: 100%;
  label {
    width: 100%;
  }
}

.titleBlock {
  gap: 8px;
}

.passwordBlock {
  gap: 16px;
}

.insideBlock {
  gap: 24px;
}

.inside {
  color: var(--simple-night, #000);
  text-align: center;
  font-size: 32px;
  font-style: normal;
  font-weight: 500;
  line-height: 40px;
}

.email {
  color: var(--simple-gray-evening, #ababab);
  text-align: center;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 22px;
}

.goBack {
  display: none;
}

.forgot {
  color: var(--simple-blue-day, #337cec);
  text-align: center;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 22px;

  &:hover {
    color: var(--blue-day, #1b56b1);
    cursor: pointer;
  }

  &:active {
    color: var(--blue-day, #1b56b1);
    cursor: pointer;
  }
}

@include media(sm) {
  .container {
    padding: 40px;
  }

  .closeCircle {
    display: none;
  }

  .forgot {
    font-size: 14px;
  }

  .goBack {
    display: flex;
    flex-direction: row;
    align-items: center;
    color: var(--simple-gray-evening, #ababab);
    align-self: self-start;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    transform: translateX(-13%);
    -webkit-transform: translateX(-13%);
    -moz-transform: translateX(-13%);
    -ms-transform: translateX(-13%);
    -o-transform: translateX(-13%);
  }

  .passwordBlock {
    gap: 8px;
  }

  .input {
    width: 100%;
    max-width: 552px;
  }

  .container {
    display: flex;
    position: static;
    padding: 18px;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transform: translate(0, 0);
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 24px;
    z-index: 0;
    background: var(--simple-morning, #fff);
  }

  .inside {
    color: var(--simple-night, #000);
    font-size: 24px;
    align-self: self-start;
    font-style: normal;
    font-weight: 500;
    line-height: 30px;
  }

  .email {
    align-self: self-start;
  }

  .password {
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 22px;
    margin-bottom: 8px;
  }

  .titleBlockMobile {
    width: 343px;
  }

  .eye {
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    cursor: pointer;
    transition: 0.2s all;

    &:hover path {
      fill: gray;
    }
  }
}

@include media(xss) {
  .inside {
    text-align: start;
    align-self: self-start;
  }

  .titleBlockMobile {
    width: 91.47vw;
  }

  .email {
    text-align: start;
    align-self: self-start;
  }
}
